package com.gaojinqi.sys.modular.rbac.dao;

import com.gaojinqi.base.core.jpa.BaseTreeRepository;
import com.gaojinqi.sys.modular.rbac.model.Permission;
import org.springframework.stereotype.Repository;

/**
 * 权限 - 数据访问层接口
 *
 * @author gaojinqi
 * @version 1.0
 * @since 2020年04月21日
 */
@Repository
public interface PermissionRepository extends BaseTreeRepository<Permission, String> {

    Permission findByPermission(String permission);

}
